package Hxw3DEngine.core.controller
{
	import Hxw3DEngine.proxy.Stage3DProxy;
	
	import flash.events.Event;

	public class View3D extends ViewBase3D
	{
		
		public function View3D()
		{
			super();
		}
		
		override public function drawBackground(e:Event = null):void {
			if(Stage3DProxy.context3d != null){	
				super.drawBackground(e);
				camera.perspectiveFieldOfView(45, Stage3DProxy.stageWidth, Stage3DProxy.stageHeight, 0.01, 10000);
			}
		}
		
		override public function startRender():void{
			super.startRender();
		}
		
		
	}
}